﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DawnOfConquest
{
    public abstract class Ability
    {
        protected int range;
        protected String targetType;

        public List<Tile> validTargets;

        protected static int ENEMY = 0;
        protected static int FRIENDLY = 1;

        public void execute(Piece user, Piece target)
        {

        }

        public int getRange()
        {
            return range;
        }

        public String getTargetType()
        {
            return targetType;
        }

        public Boolean hasTarget()
        {
            return validTargets.Count != 0;
        }
    }
}
